import { createApp } from "vue";
import { createPinia } from "pinia";
import App from "./App.vue";
import { MotionPlugin } from "@vueuse/motion";
import { setItem, getItem } from "@/utils/common.ts";
import router from "./router/index.ts";
// 引入重置样式
import "./style/reset.less";
// 一定要在main.ts中导入tailwind.css，防止vite每次hmr都会请求src/style/index.scss整体css文件导致热更新慢的问题
import "./style/reset.css";
const app = createApp(App);

app.use(MotionPlugin);
app.use(router);
app.use(createPinia());

app.mount("#app");
